﻿using PPSMS_DAL;
using PPSMS_Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PPSMS_BLL
{
    public class InverterStatistics_BLL
    {
        private InverterStatistics_DAL inverterStatistics_DAL = new();

        public void Insert(InverterStatistics i)
        {
            inverterStatistics_DAL.Insert(i);
        }
        public List<InverterStatistics> SelectAll()
        {
            return inverterStatistics_DAL.SelectAll();
        }

        public InverterStatistics? SelectByIdDate(long id, string date)
        {
            return inverterStatistics_DAL.SelectByIdDate(id, date);
        }
    }
}
